<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,add,edit,del')}
                        <div class="dropdown btn-group {:$auth->check('student/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=1"><i class="fa fa-eye"></i> {:__('设为显示')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=0"><i class="fa fa-eye-slash"></i> {:__('设为隐藏')}</a></li>
                            </ul>
                        </div>
                        <a href="javascript:;" class="btn btn-info btn-import" title="导入" initialized="true"><i class="fa fa-upload"></i> 导入</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover"
                           data-operate-edit="{:$auth->check('student/edit')}"
                           data-operate-del="{:$auth->check('student/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>

<script id="schoolTpl" type="text/html">
    <div class="row">
        <div class="col-xs-12">
            <div class="form-inline" data-toggle="cxselect" data-selects="school,grade,classes">
                <input type="hidden" class="operate" data-name="school_id" value="=" />
                <input type="hidden" class="operate" data-name="grade_id" value="=" />
                <select class="form-control school" name="school_id" data-url="school/cxSelect"></select>
                <select class="form-control grade" name="grade_id" data-url="grade/cxSelect" ></select>
                <select class="form-control classes" name="class_id" data-url="classes/cxSelect" ></select>
            </div>
        </div>
    </div>
</script>